*** Settings ***
Documentation           登录openUBMC的web首页
Resource                ../../test_function/resource.robot
Resource                ../../test_function/web/web.robot
Library                 RequestsLibrary
Suite Setup             Create Web Session
Suite Teardown          Delete All Sessions

*** Variables ***
${input}                /UI/Static/#/navigate/home

*** Test Cases ***
Get BMC Home Via Web
    [Documentation]    登录openUBMC的web首页
    [Tags]    Get_BMC_Home_Via_Web

    ${rsp}=    GET On Session    bmc_web    ${input}
    Should Be Equal As Numbers    ${rsp.status_code}    ${SUCCESS_CODE}

